package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 上级会员Id和角色Id作为接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-06-03
 */
public class UpperMemberIdRoleIdVO implements Serializable {
    private static final long serialVersionUID = 688213595395713816L;

    /**
     * 上级会员Id（店铺所属会员Id）
     */
    @NotNull(message = "上级会员Id要大于0")
    @Positive(message = "上级会员Id要大于0")
    private Long upperMemberId;

    /**
     * 上级会员角色Id（店铺所属会员角色Id）
     */
    @NotNull(message = "上级会员角色Id要大于0")
    @Positive(message = "上级会员角色Id要大于0")
    private Long upperRoleId;

    public Long getUpperMemberId() {
        return upperMemberId;
    }

    public void setUpperMemberId(Long upperMemberId) {
        this.upperMemberId = upperMemberId;
    }

    public Long getUpperRoleId() {
        return upperRoleId;
    }

    public void setUpperRoleId(Long upperRoleId) {
        this.upperRoleId = upperRoleId;
    }
}
